//javaScript
function ad(button){
	var bid=document.getElementById(button.id).value;
	window.location="http://localhost:8080/getUsers/updateBook/"+bid;
}

function as(){
	var cboxs= document.getElementsByName("cbox1");
	for(i in cboxs){
		if(cboxs[i].checked){
			var cb=cboxs[i].value;
			window.location="http://localhost:8080/getUsers/deleteBook/"+cb;
		}else{
			alert('请选择要删除的用户');
		}
	}
}